package com.oceansoft.mobile.econsole.modules.statistic.service.imp;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.oceansoft.mobile.econsole.modules.base.entity.Query;
import com.oceansoft.mobile.econsole.modules.log.entity.StatisticDetail;
import com.oceansoft.mobile.econsole.modules.statistic.persistence.IStatisticMapper;
import com.oceansoft.mobile.econsole.modules.statistic.service.IStatisticService;

@Service
public class StatisticServiceImp implements IStatisticService {

	@Resource
	private IStatisticMapper statisticMapper;

	@Override
	public List<StatisticDetail> loadStatisticDeatil(Query query) {
		return statisticMapper.loadStatisticDeatil(query);
	}

	@Override
	public Map<String, Integer> loadAllStatisticAppInfo(Query query) {
		return statisticMapper.loadAllStatisticAppInfo(query);
	}

}
